﻿
using System;
using System.Collections.Generic;
using System.Text;

namespace QuanLyThuVien.DTO
{
    class NhanVienDTO
    {
        private String maNhanVien;

        public String MaNhanVien
        {
            get { return maNhanVien; }
            set { maNhanVien = value; }
        }

        private String hoTen;

        public String HoTen
        {
            get { return hoTen; }
            set { hoTen = value; }
        }

        private String tenDangNhap;

        public String TenDangNhap
        {
            get { return tenDangNhap; }
            set { tenDangNhap = value; }
        }

        private String matKhau;

        public String MatKhau
        {
            get { return matKhau; }
            set { matKhau = value; }
        }

        private DateTime ngaySinh;

        public DateTime NgaySinh
        {
            get { return ngaySinh; }
            set { ngaySinh = value; }
        }

        private String diaChi;

        public String DiaChi
        {
            get { return diaChi; }
            set { diaChi = value; }
        }

        private String dienThoai;

        public String DienThoai
        {
            get { return dienThoai; }
            set { dienThoai = value; }
        }

        private BangCapDTO bangCap;

        internal BangCapDTO BangCap
        {
            get { return bangCap; }
            set { bangCap = value; }
        }

        private BoPhanDTO boPhan;

        internal BoPhanDTO BoPhan
        {
            get { return boPhan; }
            set { boPhan = value; }
        }

        private ChucVuDTO chucVu;

        internal ChucVuDTO ChucVu
        {
            get { return chucVu; }
            set { chucVu = value; }
        }

        public NhanVienDTO()
        {
            this.MaNhanVien = "";
            this.HoTen = "";
            this.TenDangNhap = "";
            this.MatKhau = "";
            this.NgaySinh = DateTime.Today;
            this.DiaChi = "";
            this.DienThoai = "";
            this.BangCap = null;
            this.ChucVu = null;
            this.BoPhan = null;
        }
    }
}
